package cn.slipi.provider.controller;

import cn.slipi.provider.biz.OrderBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 订单创建
 */
@RestController
@RequestMapping("/order")
public class OrderController {

    @Autowired
    private OrderBiz orderBiz;

    /**
     * 模拟创建订单
     *
     * @return
     */
    @RequestMapping("/create")
    public String createOrder() {
        return this.orderBiz.createOrder();
    }

}
